xend (XenAPI): Error in Xend-API method VM_set_actions_after_crash
authorLutz Dube <lutz.dube@ts.fujitsu.com>
Tue, 27 Jul 2010 15:53:00 +0000 (16:53 +0100)
committerLutz Dube <lutz.dube@ts.fujitsu.com>
Tue, 27 Jul 2010 15:53:00 +0000 (16:53 +0100)
commitd0e15577d39787a47c275283bfcc0b208e30d2d4
treed83e7c59ef2490a34274a6b8c121b13dde78eebf
parent646e4efe010ff70d7ef26f118e9648d4446fd4cd
xend (XenAPI): Error in Xend-API method VM_set_actions_after_crash

Xend-API defines the method VM_set_actions_after_crash with valid
action names coredump_and_destroy, coredump_and_restart,... . These
values have to be converted into internal representation
"coredump-destroy", "coredump-restart", ...  otherwise start of the
domain is rejected.  Same error occurs, if I try to create a VM using
the Xend-API with actions_after_crash set to coredump_and_destroy.

Could you please apply my patch to xen-4-0-testing, too.

Signed-off-by: Lutz Dube Lutz.Dube@ts.fujitsu.com
Acked-by: Jim Fehlig <jfehlig@novell.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendAPIConstants.py
tools/python/xen/xend/XendConfig.py